const {login, registry, getUser} = require('./user/user');
const routerConfig = [
  {
    url: '/login',
    method: 'POST',
    callback: login
  },
  {
    url: '/registry',
    method: 'POST',
    callback: registry
  }, {
    url: '/user/:id',
    method: 'get',
    callback: getUser
  },
]

module.exports = routerConfig;
